// 引入样式
import "../../assets/css/normalize.less";
import "../../assets/css/reset.less";
import "../../assets/css/property.less";
import "../../assets/css/basic.less";
import "animate.css";
import "./ad.less";
import { $ } from "../../utils/dom.js";



/**
 * 倒计时
 */
const downTime = () => {
    let timeNum = 5;
	setInterval(function () {
		timeNum--;
		// 判断
		if (timeNum >= 0) {
            // 渲染时间
			$("#time").innerHTML = timeNum + "s";
		} else {
			location.href = "login.html";
		}
	}, 1000);
};
downTime();
